-
Home
-
Booking Weir
-
1.0.1
-
Code
-
Classes
- PriceCalculator
Total Complexity |
21 |
Dependencies |
4 |
Dependents |
2 |
Total lines |
338 |
Lines of code |
114 |
Logical lines of code |
59 |
Comment lines |
173 |
Methods |
11 |
Properties |
18 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
parse_coupons() |
S |
58 |
4 |
15 |
add_coupon_info() |
S |
57 |
3 |
18 |
calculate_step_price() |
S |
58 |
2 |
16 |
add_info() |
S |
65 |
3 |
10 |
__construct() |
S |
54 |
1 |
21 |
calculate_duration_price() |
S |
65 |
2 |
9 |
set_coupon_used() |
S |
73 |
2 |
5 |
get_price() |
S |
68 |
1 |
7 |
calculate_total_price() |
S |
69 |
1 |
7 |
set_coupon_not_invalid() |
S |
78 |
1 |
3 |
get_info() |
S |
82 |
1 |
3 |